package com.craftcomputing.client.Entry;

//import therandomhomepage.widgets.client.LightboxImage;

import com.google.gwt.json.client.JSONValue;

public class WorkshopEntry extends EntryPanel{
	public WorkshopEntry() {
		panel.add(workshopEntryPanel);
	}
	public void setPanelStyle(String style){
		panel.setStyleName(style);
	}
	public void updateEntry(JSONValue json){
		workshopEntryPanel.update(json);
		entryLabel.setHTML("<b>" + workshopEntryPanel.getTitle() + "</b>");
	}
	public String searchText() {
		return "/python/workshops?search=";
	}
	private WorkshopEntryPanel workshopEntryPanel = new WorkshopEntryPanel();
}
